let  x = '暂无';
let  y = '暂无';
let viewHeight = "暂无";
let seaHeight = "暂无";
let headerStation = "暂无";
let headerCounty = localStorage.headerCounty;
let headerCity = localStorage.headerCity;
let cityX = null;
let cityY = null;
let countyX = null;
let countyY = null;
let stationX = null;
let stationY = null;
let chart = [];
let changeN = 0;
let forq = 0;//代表当前状态为负氧离子页面，1代表气候指数页面
//let cityMarker = 'fuyangCityMarker';
let time = "";
let year = "";
let week = "";
let markerArr1 = [];
let markerArr2 = [];
let fylzCS = '0';//站点marker显示状态，城市站点显示时状态为0. 站点状态为1，县级为2 
let fylzc = null;
let fylzall = null;
let fylzcountry = null;
let fylzcountryall = null;
let FYLZCounts = [];
let TOP10FYLZCounts = [];
let CountryStationQXDJCounts = [];
let StationQXDJCounts = [];
let curState = 1;
let qxll = '';
let objPopup = [];
let objPopup1 = [];
let objPopup2 = [];
let objPopup3 = [];
let objPopup4 = [];
let objPopup7 = [];
let cities = [];
let county=[];
let station = [];
let model = [];
let weatherPicData = [  ["晴","icon-tianqi-qing"],
                        ["多云","icon-tianqi-duoyun"],
                        ["阴","icon-tianqi-yintian"],

                        ["夜多云","icon-tianqi-yeduoyun"],
                        ["雪转晴","icon-tianqi-xuezhuanqing"],
                        ["夜","icon-tianqi-ye"],
                        ["小雨转晴","icon-tianqi-xiaoyuzhuanqing"],
                        ["晴到多云","icon-tianqi-duoyun"],
                        ["多云到晴","icon-tianqi-duoyun"],

                        ["小雨","icon-tianqi-xiaoyu"],
                        ["阵雨","icon-tianqi-zhongyu"],
                        ["雷阵雨","icon-tianqi-leiyu"],
                        ["中雨","icon-tianqi-zhongyu"],
                        ["大雨","icon-tianqi-dayu"],
                        ["暴雨","icon-tianqi-baoyu"],
                        ["大暴雨","icon-tianqi-baoyu"],
                        ["特大暴雨","icon-tianqi-baoyu"],
                        ["小到中雨","icon-tianqi-zhongyu"],
                        ["中到大雨","icon-tianqi-zhongyu"],
                        ["大到暴雨","icon-tianqi-baoyu"],
                        ["冰雹","icon-tianqi-bingbao"],
                       
                        ["小雪","icon-tianqi-xiaoxue"],
                        ["阵雪","icon-tianqi-xiaoxue"],
                        ["中雪","icon-tianqi-zhongxue"],
                        ["大雪","icon-tianqi-daxue"],
                        ["暴雪","icon-tianqi-daxue"],
                        ["小到中雪","icon-tianqi-zhongxue"],
                        ["中到大雪","icon-tianqi-zhongxue"],
                        ["雨夹雪","icon-tianqi-yujiaxue"],
                       
                        ["雾霾","icon-tianqi-wumai"],
                        ["霜","icon-tianqi-shuang"],
                        ["沙尘","icon-tianqi-shachen"],
                      
                ];
try{
    if(localStorage.FYLZCounts){
        FYLZCounts = localStorage.FYLZCounts
    }
} catch (e) {}
try{
    if(localStorage.qxll){
        qxll = localStorage.qxll
    }
} catch (e) {}
try{
    if(localStorage.headerCity){
        headerCity = localStorage.headerCity
    }
} catch (e) {}

try{
    if(localStorage.headerCounty){
        headerCounty = localStorage.headerCounty
    }
} catch (e) {}
try{
    if(localStorage.headerStation){
        headerStation = localStorage.headerStation
    }
} catch (e) {}

try{
    if(localStorage.cityX){
        cityX = localStorage.cityX
    }
} catch (e) {}
try{
    if(localStorage.cityY){
        cityY = localStorage.cityY
    }
} catch (e) {}
try{
    if(localStorage.countyX){
        countyX = localStorage.countyX
    }
} catch (e) {}
try{
    if(localStorage.countyY){
        countyY = localStorage.countyY
    }
} catch (e) {}

try{
    if(localStorage.stationX){
        stationX = localStorage.stationX
    }
} catch (e) {}
try{
    if(localStorage.stationY){
        stationY = localStorage.stationY
    }
} catch (e) {}


export default{
    x:x,
    y:y,
    viewHeight : viewHeight,
    seaHeight : seaHeight,
    headerCity: headerCity,
    headerStation: headerStation,
    headerCounty:headerCounty,
    time:time,
    year:year,
    week:week,
    cityX:cityX,
    cityY:cityY,
    countyX:countyX,
    countyY:countyY,
    stationX:stationX,
    stationY:stationY,
    chart: chart,
    changeN : changeN,
    forq: forq,
    markerArr1 :markerArr1,
    markerArr2 : markerArr2,
    fylzCS: fylzCS,
    fylzc: fylzc,
    fylzall:fylzall,
    fylzcountry:fylzcountry,
    fylzcountryall:fylzcountryall,
    FYLZCounts:FYLZCounts,
    TOP10FYLZCounts:TOP10FYLZCounts,
    CountryStationQXDJCounts: CountryStationQXDJCounts,
    StationQXDJCounts:StationQXDJCounts,
    curState:curState,
    qxll:qxll,
    objPopup:objPopup,
    objPopup1:objPopup1,
    objPopup2:objPopup2,
    objPopup3:objPopup3,
    objPopup4:objPopup4,
    objPopup7:objPopup7,
    cities:cities,
    county:county,
    station:station,
    weatherPicData:weatherPicData,
    model:model
}